package com.sub.project.info.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sub.framework.aspectj.lang.annotation.Excel;

import java.util.Date;

/**
 * 【请填写功能名称】对象 user_educational
 * 
 * @author ruoyi
 * @date 2020-01-07
 */
public class UserEducational
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date starttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    /** 学校id */
    @Excel(name = "学校id")
    private Long schoolid;

    @Excel(name = "专业")
    private String major;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStarttime(Date starttime) 
    {
        this.starttime = starttime;
    }

    public Date getStarttime() 
    {
        return starttime;
    }
    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }
    public void setSchoolid(Long schoolid) 
    {
        this.schoolid = schoolid;
    }

    public Long getSchoolid() 
    {
        return schoolid;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("starttime", getStarttime())
            .append("endtime", getEndtime())
            .append("schoolid", getSchoolid())
            .append("userId", getUserId())
            .toString();
    }
}
